package cn.momoshenchi.medicine.vo;

import com.baomidou.mybatisplus.annotation.TableId;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @version : 1.0
 * @author: momoshenchi
 * @date: 2021/7/13 - 14:28
 */
public class Consult
{
    /**
     * 医生id
     */
    @NotBlank(message = "医生id不能为空")
    private String doctorId;

    /**
     * 操作用户id
     */
    @NotBlank(message = "用户id不能为空")
    private String createUserId;

    /**
     * 配药人姓名
     */
    @NotBlank(message = "用户姓名不能为空")
    private String personName;

    /**
     * 配药人证件号码
     */
    @NotBlank(message = "证件号码不能为空")
    private String personCardId;

    /**
     * 配药人性别，1男，2女
     */
    @NotBlank(message = "性别编号不能为空")
    private String personGenderCode;

    /**
     * 配药人出生日期
     */

    @NotNull(message = "出生年月不能为空")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date personBirthDate;

    /**
     * 配药人年龄
     */
    @NotNull(message = "年龄不能为空")
    private Byte personAge;

    /**
     * 配药人手机号码
     */
    @NotBlank(message = "手机号码不能为空")
    private String personPhoneNo;

    /**
     * 问题描述
     */
    @NotBlank(message = "病情描述不能为空")
    private String question;

    /**
     * 诊断小结
     */
    @NotBlank(message = "确诊诊断不能为空")
    private String diagnosis;

    /**
     *   复诊提交药物id，用英文逗号分隔
     */
    @NotBlank(message = "所需药品id不能为空")
    private String drugIds;


    /**
     * 复诊配药提交药物名称，用英文逗号分隔
     */
    @NotBlank(message = "所需药品名称不能为空")
    private String drugNames;

    /**
     * 问诊照片id，用英文逗号分隔
     */
    private String photoIds;

    @NotBlank(message = "性别不能为空")
    private  String personGenderName;


    public String getDrugIds()
    {
        return drugIds;
    }

    public void setDrugIds(String drugIds)
    {
        this.drugIds = drugIds;
    }

    public String getPersonGenderName()
    {
        return personGenderName;
    }

    public void setPersonGenderName(String personGenderName)
    {
        this.personGenderName = personGenderName;
    }

    public String getDoctorId()
    {
        return doctorId;
    }

    public void setDoctorId(String doctorId)
    {
        this.doctorId = doctorId;
    }

    public String getCreateUserId()
    {
        return createUserId;
    }

    public void setCreateUserId(String createUserId)
    {
        this.createUserId = createUserId;
    }

    public String getPersonName()
    {
        return personName;
    }

    public void setPersonName(String personName)
    {
        this.personName = personName;
    }


    public String getPersonCardId()
    {
        return personCardId;
    }

    public void setPersonCardId(String personCardId)
    {
        this.personCardId = personCardId;
    }

    public String getPersonGenderCode()
    {
        return personGenderCode;
    }

    public void setPersonGenderCode(String personGenderCode)
    {
        this.personGenderCode = personGenderCode;
    }

    public Date getPersonBirthDate()
    {
        return personBirthDate;
    }

    public void setPersonBirthDate(Date personBirthDate)
    {
        this.personBirthDate = personBirthDate;
    }

    public Byte getPersonAge()
    {
        return personAge;
    }

    public void setPersonAge(Byte personAge)
    {
        this.personAge = personAge;
    }

    public String getPersonPhoneNo()
    {
        return personPhoneNo;
    }

    public void setPersonPhoneNo(String personPhoneNo)
    {
        this.personPhoneNo = personPhoneNo;
    }

    public String getQuestion()
    {
        return question;
    }

    public void setQuestion(String question)
    {
        this.question = question;
    }

    public String getDiagnosis()
    {
        return diagnosis;
    }

    public void setDiagnosis(String diagnosis)
    {
        this.diagnosis = diagnosis;
    }

    public String getDrugNames()
    {
        return drugNames;
    }

    public void setDrugNames(String drugNames)
    {
        this.drugNames = drugNames;
    }

    public String getPhotoIds()
    {
        return photoIds;
    }

    public void setPhotoIds(String photoIds)
    {
        this.photoIds = photoIds;
    }
}
